<?
require_once("../config/dbconn.php");require_once("../config/usercls.php");
$sqlhy="select * from {$db_prefix}users where id='".$_SESSION['sys_userid']."'";
$rshy=$db->get_one($sqlhy);
$sqlchk="select * from {$db_prefix}applyzmd where username='".$_SESSION['sys_username']."' and state>=1";
	$rschk=$db->get_one($sqlchk);
	if ($rschk){
		$isbdzx=1;
	}
	else
	{
		$isbdzx=0;
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理页面</title>
<link href="css/style01.css" rel="stylesheet" type="text/css" />
<script src="js/prototype.lite.js" type="text/javascript"></script>
<script src="js/moo.fx.js" type="text/javascript"></script>
<script src="js/moo.fx.pack.js" type="text/javascript"></script>

<script language="JavaScript" src="js/jquery.js"></script>

<script type="text/javascript">
$(function(){	
	//导航切换
	$(".menuson li").click(function(){
		$(".menuson li.active").removeClass("active")
		$(this).addClass("active");
	});
	
	$('.title').click(function(){
		var $ul = $(this).next('ul');
		$('dd').find('ul').slideUp();
		if($ul.is(':visible')){
			$(this).next('ul').slideUp();
		}else{
			$(this).next('ul').slideDown();
		}
	});
})	
</script>


</head>

<body style="background:#f0f9fd;">
	<div class="lefttop"><span></span>商城管理平台</div>
    
    <dl class="leftmenu">
        
    <dd>
    <div class="title">
    <span><img src="images/leftico01.png" /></span>系统公告
    </div>
    	<ul class="menuson">
        <li class="active"><cite></cite><a href="announce_lst.php" target="main">公告列表</a><i></i></li>
        </ul>    
    </dd>
        
    
    <dd>
    <div class="title">
    <span><img src="images/leftico02.png" /></span>资料管理
    </div>
    <ul class="menuson">
        <li><cite></cite><a href="info_view.php" target="main">资料查看</a><i></i></li>
        <li><cite></cite><a href="info_price.php" target="main">账户余额</a><i></i></li>
        <li><cite></cite><a href="info_pwd.php" target="main">密码修改</a><i></i></li>
        </ul>     
    </dd> 
    
    <?
	  if (($glo_closetjnet==0)||($glo_closeglnet==0)){
	?>
    <dd><div class="title"><span><img src="images/leftico03.png" /></span>网络管理</div>
    <ul class="menuson">
        <li><cite></cite><a href="nets_tjtree.php" target="main">推荐树</a><i></i></li>
        <li><cite></cite><a href="nets_tj.php" target="main">推荐网</a><i></i></li>
		<li><cite></cite><a href="nets_gl.php" target="main">管理网</a><i></i></li>
        <li><cite></cite><a href="nets_gltree.php" target="main">管理树</a><i></i></li>
    </ul>    
    </dd>  
    <?
	  }
	?>
    
    <dd><div class="title"><span><img src="images/leftico04.png" /></span>业务管理</div>
    <ul class="menuson">
   
        <li><cite></cite><a href="user_reg.php" target="main">注册会员</a><i></i></li>	 
        <li><cite></cite><a href="user_tj1.php" target="main">注册的会员</a><i></i></li>
    </ul>
    </dd>   
    

    
    <dd><div class="title"><span><img src="images/leftico04.png" /></span>财务管理</div>
    <ul class="menuson">
        <li><cite></cite><a href="trans_zzdo.php" target="main">内部转账</a><i></i></li>
        <li><cite></cite><a href="trans_zr.php" target="main">转入记录</a><i></i></li>
        <li><cite></cite><a href="trans_zz.php" target="main">转出记录</a><i></i></li>
        <li><cite></cite><a href="query_salary.php" target="main">奖金列表</a><i></i></li>
        <li><cite></cite><a href="caiwu_lst.php" target="main">财务记录</a><i></i></li>
    
    </ul>
    
    </dd>
    
    
    </dl>
    <dl class="leftmenu">
    <dd><div class="title"><span><img src="images/leftico04.png" /></span>会员信息</div>
    <ul class="menuson1">
    	<?
			$sql="select * from {$db_prefix}users where id='".$_SESSION['sys_userid']."'";
			$rs=$db->get_one($sql);
		?>
        <li><a>会员编号:<?=$rs['username']?></a></li>
        <li><a>会员等级:<?=$hyrankary[$rs['rank']]?></a></li>
        <li><a>总奖金累计:<? echo $rs['priceall'] ?>TXL</a></li>
        <li><a>资产钱包:<?=$rs['price']?>TXL</a></li>
        <li><a>释放钱包:<?=$rs['sfprice']?>TXL</a></li>
        <li><a>智能钱包:<?=$rs['znprice']?>TXL</a></li>
        <li><a>算力钱包:<?=$rs['slprice']?>TXL</a></li>
        <li><a>交易钱包:<?=$rs['jyprice']?>TXL</a></li>
        <li><a>购物钱包:<?=$rs['gwprice']?>TXL</a></li>
    </ul>
    
    </dd>
    </dl>
    
</body>
</html>
